 <form action="<?= base_url().ADMIN_FOLDER ?>/<?= get_segment(2) ?>/edit/<?= $order_invoices->id ?>" method="post" class="fill-up" >
<div class="row-fluid">
    <div class="span12">
        <div  class="box">
            <div class="tab-header"> <?=lang('label_edit')?> <?= $order_invoices->id ?></div>

            <div id='data_contant' class="padded">





               
                    <div class="row-fluid">
                        <div class="span5" style="margin-left: 6%;">


                            <div class="input">
                                <label for="sender_name">
                                    <?=lang('label_sender_name')?>
                                </label>
                                 <?php echo form_error('sender_name', '<div class="form_error">', '</div>'); ?>
                                <input name="sender_name" id="sender_name" placeholder="<?=lang('label_sender_name')?>" value="<?=  set_value('sender_name',$order_invoices->sender_name) ?>" type="text" />
                               
                            </div>



                            <div class="input">
                                <label for="from_bank">
                                    <?=lang('label_from_bank')?>
                                </label>
                                <?php echo form_error('from_bank', '<div class="form_error">', '</div>'); ?>
                                <input name="from_bank" id="from_bank" placeholder="<?=lang('label_from_bank')?>" value="<?=  set_value('from_bank',$order_invoices->from_bank) ?>" type="text" />
                            </div>
                            <div class="input">
                                <label for="to_bank">
                                    <?=lang('label_to_bank')?>
                                </label>
                                <?php echo form_error('to_bank', '<div class="form_error">', '</div>'); ?>
                                 <?= form_dropdown('to_bank', get_bank_list(lang('label_select')), set_value('to_bank',$order_invoices->bank_id), 'placeholder="'.lang('label_to_bank').'"') ?>
                            </div>

                            <div class="input">
                                <label for="accound_number">
                                    <?=lang('label_accound_number')?>
                                </label>
                                <?php echo form_error('accound_number', '<div class="form_error">', '</div>'); ?>
                                <input name="accound_number" id="accound_number" placeholder="<?=lang('label_accound_number')?>" value="<?=  set_value('accound_number',$order_invoices->accound_number) ?>" type="text" />
                            </div>
                             <div class="input">
                                <label for="payment_type">
                                    <?=lang('label_payment_type')?>
                                </label>
                                <?php echo form_error('payment_type', '<div class="form_error">', '</div>'); ?>
                                <input name="payment_type" id="payment_type" placeholder="<?=lang('label_payment_type')?>" value="<?=  set_value('payment_type',$order_invoices->payment_type) ?>" type="text" />
                            </div>                     
                              <div class="input">
                                <label for="cash">
                                    <?=lang('label_cash')?>
                                </label>
                                <?php echo form_error('cash', '<div class="form_error">', '</div>'); ?>
                                <input name="cash" id="payment_type" placeholder="<?=lang('label_cash')?>" value="<?=  set_value('cash',$order_invoices->cash) ?>" type="text" />
                            </div>                  

                        <div class="input" >
                                <input type="checkbox" id="ch1" name="paid" <? if ($order_invoices->paid == 'YES') { ?> checked="checked" <? } ?>  value="YES" class="normal-check">
                                <label for="ch1"><?=lang('label_item_paided')?></label>
                        </div> 
                        <div class="input" >
                                <input type="checkbox" id="ch2" name="close" <? if ($order_invoices->close == 'YES') { ?> checked="checked" <? } ?>  value="YES" class="normal-check">
                                <label for="ch2"><?=lang('label_close')?></label>
                        </div> 
                        </div>
                    
                        
                      
                            
                      
                    </div>
                      <div class="form-actions form-actionss">
                      
                       <button type="submit" class="btn btn-primary icon-pencil">   <?=lang('label_edit')?></button>

                    </div>
                


            </div>
        </div>
    </div>
</div>
</form>
